//
//  SearchTableViewCell.m
//  逗她盒子
//
//  Created by Qiaofeng on 15/6/13.
//  Copyright (c) 2015年 Qiaofeng. All rights reserved.
//

#import "SearchTableViewCell.h"

@implementation SearchTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {

        self.avatar = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 36, 36)];
        self.avatar.layer.cornerRadius = 18;
        self.avatar.clipsToBounds = YES;
        
        self.name = [[UILabel alloc]initWithFrame:CGRectMake(50, 5, 250, 36)];
        self.name.font = [UIFont systemFontOfSize:13];
        
        
        self.steam_id = [[UILabel alloc]initWithFrame:CGRectMake([UIScreen mainScreen].bounds.size.width / 10 * 7.2 , 5, 100 ,36)];
        self.steam_id.font = [UIFont systemFontOfSize:13];
        [self addSubview:self.steam_id];
        [self addSubview:self.name];
        [self addSubview:self.avatar];
        
        
        
    }
    return self;
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
